getApp();

var e = wx.cloud.database({
    env: "photoedit-ahx9x"
});

Page({
    data: {
        updatelogs: []
    },
    onLoad: function() {
        var a = this;
        e.collection("updatelog").orderBy("code", "desc").get({
            success: function(e) {
                a.setData({
                    updatelogs: e.data
                });
            }
        });
    },
    onShareAppMessage: function() {
        return {
            title: "超好用的图片编辑小程序",
            path: "pages/index/index",
            imageUrl: "/image/maskshareimg.jpg"
        };
    }
});